package com.wu.dao;

import com.wu.bean.UserBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName UserDao
 * @Author wuxuan
 * @Date 2019/3/2 18:26
 * @Version 1.0
 * @Description
 **/
@Mapper
public interface UserDao {

    /**
     * @param userid
     * @param userkey
     * @return
     */
    public List<UserBean> login (@Param("userid") String userid, @Param("userkey") String userkey);

    public int regin(@Param("UserID") String UserID, @Param("UserKey") String UserKey, @Param("UserName") String UserName, @Param("UserRtime") String UserRtime);
}
